package com.maiji.cloud.entities.login;


import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 
 * Description:  转发记录
 * @author zhanglr  
 * @date 2019年7月9日
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "forwarding_records")
@TableName("forwarding_records")
public class ForwardingRecordsEntity {
	
	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
    private String uuId; //主键
	
	@Column(name = "log_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String logId; //转发内容id
	
	@Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String userId; //用户id
	
	@Column(name = "type", type = MySqlTypeConstant.INT, length = 2)
	private Integer type; //用户id 1：饮食记录转发，2动态转发，3体重转发
	
	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
    private Date inTime;  //转发时间
	
	
}
